
<!DOCTYPE html>
<html ng-app="plunker">

<head>

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">

<title>Mega Acerto</title>

<!-- Bootstrap Core CSS -->
<link href="/megaacerto/style/css/bootstrapSpaceLab.css"
	rel="stylesheet">

<link rel="stylesheet" type="text/css"
	href="/megaacerto/style/css/styles.css" />
<!-- PARA FAZER MASCARA FUNCIONAR ANGULAR JS/	-->
<script src="/megaacerto/javascript/recursos/jquery-1.2.6.pack.js"></script>

<!-- 
	<style type="text/css">
		.modal-body {
			position: static;
			padding-bottom: 18px;
		}
	</style>
 -->
</head>

<body ng-controller="contato">
	<div ng-include src="'/megaacerto/page/menu.jsp'"></div>
	<div id="wrap">
		<div id="main" class="container clear-top">
			<div class="row">
				<div class="panel panel-primary" ng-show="novocadastro">
					<div class="panel-heading">
						<h3 class="panel-title">Enviar Contato</h3>
					</div>
					<div class="panel-body">
						<form class="form-horizontal" name="myForm">
							<div class="form-group">
								<label for="inputNome" class="control-label col-xs-2">Nome</label>
								<div class="col-xs-6">
									<input id="inputNome" ng-model="nome" class="form-control"
										ng-required="true">
								</div>
							</div>
							<div class="form-group">
								<label for="inputEmail" class="control-label col-xs-2">Email</label>
								<div class="col-xs-6">
									<input type="email" id="inputEmail" ng-model="email"
										class="form-control" ng-required="true">
								</div>
							</div>
							<div class="form-group">
								<label class="control-label col-xs-2">Mensagem</label>
								<div class="col-xs-6">
									<textarea ng-model="msg" class="form-control" ng-required="true" rows="4" cols="50"></textarea>
								</div>
							</div>
							<div class="form-group">
								<div class="col-xs-offset-2 col-xs-10">
									<button class="btn btn-primary" ng-disabled="myForm.$invalid"
										ng-click="enviar()">Enviar</button>
								</div>
							</div>
						</form>
					</div>
				</div>
				<div class="panel panel-primary" ng-show="!novocadastro" >
					<div class="panel-heading">
						<h3 class="panel-title">Contato Enviado</h3>
					</div>
					<div class="panel-body">
						<span>Seu contato foi enviado com sucesso. Obrigado por entrar em contato conosco!</span><br/><br/>
						<p>A equipe Mega Acerto agradece.</p>
					</div>
				</div>
				
			</div>
		</div>
	</div>

	<!--Criar Pagefooter  -->
	<div ng-include src="'/megaacerto/page/footer.html'"></div>

	<!-- PARA FAZER MASCARA FUNCIONAR ANGULAR JS/	-->
	<script src="/megaacerto/javascript/recursos/jquery-1.11.1.js"></script>

	<!-- Latest compiled and minified JavaScript -->
	<script src="/megaacerto/javascript/recursos/bootstrap.min.js"></script>

	<script type="text/javascript"
		src="/megaacerto/javascript/recursos/angular_2.min.js"></script>

	<script src="/megaacerto/javascript/recursos/storageprovider.js"></script>

	<script type="text/javascript"
		src="/megaacerto/javascript/control/angular-route.js"></script>

	<script type="text/javascript"
		src="/megaacerto/javascript/recursos/ui-bootstrap-tpls-0.11.0.min.js"></script>
	
	<script type="text/javascript"
		src="/megaacerto/javascript/control/contato.js"></script>

</body>

</html>